import $ from "./jquery.js"
$.ajaxSetup({
    headers:{
        "Authorization":localStorage.token
    },
    error(data){
        if(data.status==401){
            alert("请重新登录");
            top.location.href="/login.html"
        }   
    },
})